﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Abstract
{
    class Program
    {
        static void Main(string[] args)
        {
            ConcreteFactory factory = new ConcreteFactory();
            Client client;

            Console.WriteLine("Meniu");
            Console.WriteLine("1. Adauga Client");
            Console.WriteLine("2. Adauga Masina");
            Console.WriteLine("3. Afieaza Date Client");

            int x;
            x=Console.Read();

        
                client = new Client("Ion", "22", factory);
                client.OrderCar(AbstractCar.Cars.Coupe, AbstractCar.Colors.Black, AbstractCar.Transmissions.Automatic);
                client.aboutClient();
           
        }
    }
}
